import { getEmpInfo, setEmpInfo } from '@/utils/localstore'

export default {
  namespaced: true,

  state () {
    return {
      empInfo: getEmpInfo() // token
    }
  },

  mutations: {
    setEmpInfo (state, obj) {
      state.empInfo = obj
      setEmpInfo(obj)
    }
  },
  actions: {},
  getters: {}
}
